//
//  NotificationTwoViewController.m
//  跨界收
//
//  Created by Allen on 2018/10/29.
//  Copyright © 2018年 gztx. All rights reserved.
//

#import "NotificationTwoViewController.h"
#import "NoticeViewController.h"
#import "ActiveViewController.h"

@interface NotificationTwoViewController ()

@end

@implementation NotificationTwoViewController
- (void)pageController:(WMPageController *)pageController lazyLoadViewController:(__kindof UIViewController *)viewController withInfo:(NSDictionary *)info
{//先3 后4
    NSLog(@"%@",info);
    self.navigationItem.title = info[@"title"];
}
- (void)pageController:(WMPageController *)pageController willEnterViewController:(__kindof UIViewController *)viewController withInfo:(NSDictionary *)info
{//先 1 后2 再1
    NSLog(@"%@",info);
    self.navigationItem.title = info[@"title"];
}

- (void)viewWillAppear:(BOOL)animated
{
    [super viewWillAppear:animated];
    self.navigationController.navigationBarHidden = NO;
}
- (void)viewDidLoad {
    [super viewDidLoad];
//    self.edgesForExtendedLayout = UIRectEdgeNone;
        self.navigationItem.title = @"公告";
    // Do any additional setup after loading the view from its nib.
}

@end
